package com.qiyeji.real_estate.mapper;

import com.qiyeji.real_estate.entity.monitoringData;
import com.qiyeji.real_estate.entity.monitoringDataKey;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface monitoringDataMapper {
    int deleteByPrimaryKey(monitoringDataKey key);

    int insert(monitoringData record);

    int insertSelective(monitoringData record);

    monitoringData selectByPrimaryKey(monitoringDataKey key);

    int updateByPrimaryKeySelective(monitoringData record);

    int updateByPrimaryKey(monitoringData record);

    List<monitoringData> getAllMonitoringData();

    List<monitoringData> fuzzyQuery(String key);
}